<template>
	<page-body>
		<view class="page">
			<!---flex布局flex布局开始-->
			<view class="flex flex-wrap align-start benben-flex-layout honodetas_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between honodetas_fd0_0'>
					<text class='fu-iconfont2  honodetas_fd0_0_c0' @tap.stop="navs">&#xe794;</text>
					<view class='flex flex-wrap align-center'>
						<text class='honodetas_fd0_0_c1_c0'>{{name}}</text>
					</view>
					<view class='flex flex-wrap align-center honodetas_fd0_0_c2'>
					</view>
				</view>
			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局结束-->
			<!---flex布局flex布局开始-->
			<image class='honodetas_fd0_1' mode="aspectFill" :src='imgurl'></image>
			<view class="flex benben-flex-layout flex-wrap align-center honodetas_flex_1">
				<view class='flex flex-wrap align-center honodetas_fd1_0'>
					<jyf-parser class='honodetas_fd1_0_c0' :html="list.content | richTextFormat">
					</jyf-parser>
				</view>
			</view>

			<!---flex布局flex布局结束-->


		</view>
	</page-body>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"list": {
					"aid": "",
					"content": ""
				},
				"aid": "",
				"name": "",
				"imgurl": ""
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {
			let {
				aid,
				name,
				imgurl
			} = options
			if (aid !== undefined) this.aid = aid
			if (name !== undefined) this.name = name
			if (imgurl !== undefined) this.imgurl = imgurl
			this.gettv6bde12e6ea99Func()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			navs() {
				uni.navigateBack()
			},
			//查询荣誉榜详情
			async gettv6bde12e6ea99Func() {
				//请求方法
				//数据验证

				let datalist = await this.$api.get(global.apiUrls.post66bde12e6ea99, {
					aid: this.aid
				});

				if (datalist.data.code != 1) {
					this.$message.info(datalist.data.msg);
					return
				}
				let infolist = datalist.data;
				this.list = infolist.data

			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F6f6f6;
		background-size: 100% auto;
	}

	.honodetas_flex_0 {
		// background: url(image-path('48.png')) no-repeat;
		// background-size: 100% auto;
		height: 100rpx;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10;
		margin: 0rpx 0rpx 0rpx 0rpx;
		background-color: #ffffff;
	}

	.honodetas_fd0_1 {
		width: 100%;
		height: 780rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		// margin-top: 100rpx;
	}

	.honodetas_fd0_0_c2 {
		width: 20rpx;
		height: 20rpx;
	}

	.honodetas_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		line-height: 50rpx;
		color: #333;
		margin: 0rpx 0rpx 0rpx 12rpx;
	}

	.honodetas_fd0_0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.honodetas_fd0_0 {
		width: 688rpx;
		// margin: 51rpx 0rpx 0rpx 0rpx;
		height: 100rpx;
		position: absolute;
		// top: 0;
		left: 32rpx;
		z-index: 1000000000;
		// background-color: red;
	}

	.honodetas_flex_1 {
		padding: 24rpx;
		margin: -100rpx 0rpx 0rpx 0rpx;
		position: relative;
	}

	::v-deep .honodetas_fd1_0_c0 {
		width: 100%;
	}

	.honodetas_fd1_0 {
		background: #fff;
		width: 100%;
		border-radius: 16rpx;
		background-size: 100% auto;
		padding: 32rpx 24rpx 32rpx 24rpx;
	}
</style>
